#ifndef CONFIGURE_H
#define CONFIGURE_H
#include <QStringList>
#include "entity/Vector3.h"

class Configure
{
public:
    // 背景颜色
    Vector3 Background;
    // 重力加速度
    Vector3 Gravity;
    // 鼠标按键映射[left, right, middle]
    int InputMouseMap[3];
    // 输入速度控制[move, turn]
    float InputSpeed[2];
    // 禁用输入[mouse, keyboard, gravity]
    bool InputDisable[3];
    // 使用插件
    QStringList PluginUsed;

    /**
     * @brief 构造函数
     */
    Configure()
    {
        Init();
    }

    /**
     * @brief 初始化
     */
    void Init()
    {
        Background = Vector3(0.16f, 0.16f, 0.16f);
        Gravity = Vector3(0.0f, 0.0f, 0.0f);
        InputMouseMap[0] = 1;
        InputMouseMap[1] = 2;
        InputMouseMap[2] = 3;
        InputSpeed[0] = 1.0f;
        InputSpeed[1] = 1.0f;
        InputDisable[0] = false;
        InputDisable[1] = false;
        InputDisable[2] = true;
    }
};

#endif // CONFIGURE_H
